import Container from "@/container";

const businessRouter = {
  path: "/businessManage",
  component: Container,
  redirect: "noRedirect",
  name: "businessManage",
  meta: {
    permitIds: ["business"],
    title: "商圈管理",
    icon: "tb_03.png"
  },
  children: [
    {
      path: "/apartment",
      name: "apartment",
      meta: {
        parentTitle: "商圈管理",
        title: "公寓租赁管理",
        index: "3-1",
        permitIds: ["business_apart"]
      },
      component: () => import("@/pages/business/apartment")
    },
    {
      path: "/houseType",
      name: "houseType",
      meta: {
        parentTitle: "商圈管理",
        title: "公寓详情",
        hasGoBack: true,
        permitIds: ["business_apart"]
      },
      component: () => import("@/pages/business/apartment/house_type")
    }
  ]
};

export default businessRouter;
